package com.engineering.elink.domain;

import io.swagger.annotations.ApiParam;

import java.io.Serializable;
import java.util.Date;

@SuppressWarnings("serial")
public class User implements Serializable {
	@ApiParam(value = "用户ID")
	private String userId;

	@ApiParam(value = "邮箱")
	private String email;

	@ApiParam(value = "手机号")
	private String phone;

	@ApiParam(value = "密码")
	private String passwd;

	@ApiParam(value = "创建时间")
	private Date createTime;

	@ApiParam(value = "角色ID")
	private Integer roleId;

	@ApiParam(value = "用户类别 1 个人 2企业")
	private int userType;
	
	private int coinValue;//积分
	
	private int influenceValue;//影响值
	
	private int coinFrozen;//冻结的积分
	
//	private int levelId;//用户级别

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPasswd() {
		return passwd;
	}

	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public int getUserType() {
		return userType;
	}

	public void setUserType(int userType) {
		this.userType = userType;
	}

	public int getCoinValue() {
		return coinValue;
	}

	public void setCoinValue(int coinValue) {
		this.coinValue = coinValue;
	}

	public int getInfluenceValue() {
		return influenceValue;
	}

	public void setInfluenceValue(int influenceValue) {
		this.influenceValue = influenceValue;
	}

	public int getCoinFrozen() {
		return coinFrozen;
	}

	public void setCoinFrozen(int coinFrozen) {
		this.coinFrozen = coinFrozen;
	}

//	public int getLevelId() {
//		return levelId;
//	}
//
//	public void setLevelId(int levelId) {
//		this.levelId = levelId;
//	}
}